package com.yq.bootrabbitmq.controller;

import com.yq.bootrabbitmq.service.impl.SendServiceImpl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * @ClassName SendController
 * @Description 测试基本的发送
 * @Author yaoqiang
 * @Date 2021/11/1 16:56
 * @Version 1.0
 */
@Controller
@ResponseBody
public class SendController {
    @Resource
    public SendServiceImpl sendServiceImpl;

    @RequestMapping("/send/direct")
    public void testDirect(){
        sendServiceImpl.directSend();
    }
}
